package com.pactera.vo.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="响应Vo基类",description="响应Vo基类")
public class BaseRespVo {
	
	@ApiModelProperty(value="响应编码",name="errcode")
	protected int errcode;
	
	@ApiModelProperty(value="响应信息",name="errmsg")
	protected String errmsg;
	
	protected Object data;
	
	public int getErrcode() {
		return errcode;
	}

	public String getErrmsg() {
		return errmsg;
	}

	public void setErrcode(int errcode) {
		this.errcode = errcode;
	}

	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}
	
	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("errcode:").append(errcode).append(",errmsg:").append(errmsg);
		return sb.toString();
	}
}
